package com.platform.common.core.domain.entity;

import com.platform.common.core.annotation.Excel;
import com.platform.common.core.web.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 承运人对象 dic_carrier
 *
 * @author xuefk
 * @date 2023-04-17
 */
public class DicCarrier extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 承运人二字码 */
    @Excel(name = "承运人二字码")
    private String carrier;

    /** 委托承运人二字码 */
    @Excel(name = "委托承运人二字码")
    private String entrustCode;

    /** 承运人三字码 */
    @Excel(name = "承运人三字码")
    private String prefix;

    /** 中文简称 */
    @Excel(name = "中文简称")
    private String nameCn;

    /** 英文简称 */
    @Excel(name = "英文简称")
    private String nameEn;

    /** 全称 */
    @Excel(name = "全称")
    private String nameFull;

    /** 国内国际标识(国内DOM,国际INT;) */
    @Excel(name = "国内国际标识(国内DOM,国际INT;)")
    private String intflag;

    /** 数据开关(0:关闭;1:开启) */
    @Excel(name = "数据开关(0:关闭;1:开启)")
    private String dataSwitch;

    /** sita地址 */
    @Excel(name = "sita地址")
    private String sita;

    /** 国家代码 */
    @Excel(name = "国家代码")
    private String countryCode;

    /** 机场三字码 */
    @Excel(name = "机场三字码")
    private String airportCode;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setCarrier(String carrier)
    {
        this.carrier = carrier;
    }

    public String getCarrier()
    {
        return carrier;
    }
    public void setEntrustCode(String entrustCode)
    {
        this.entrustCode = entrustCode;
    }

    public String getEntrustCode()
    {
        return entrustCode;
    }
    public void setPrefix(String prefix)
    {
        this.prefix = prefix;
    }

    public String getPrefix()
    {
        return prefix;
    }
    public void setNameCn(String nameCn)
    {
        this.nameCn = nameCn;
    }

    public String getNameCn()
    {
        return nameCn;
    }
    public void setNameEn(String nameEn)
    {
        this.nameEn = nameEn;
    }

    public String getNameEn()
    {
        return nameEn;
    }
    public void setNameFull(String nameFull)
    {
        this.nameFull = nameFull;
    }

    public String getNameFull()
    {
        return nameFull;
    }
    public void setIntflag(String intflag)
    {
        this.intflag = intflag;
    }

    public String getIntflag()
    {
        return intflag;
    }
    public void setDataSwitch(String dataSwitch)
    {
        this.dataSwitch = dataSwitch;
    }

    public String getDataSwitch()
    {
        return dataSwitch;
    }
    public void setSita(String sita)
    {
        this.sita = sita;
    }

    public String getSita()
    {
        return sita;
    }
    public void setCountryCode(String countryCode)
    {
        this.countryCode = countryCode;
    }

    public String getCountryCode()
    {
        return countryCode;
    }
    public void setAirportCode(String airportCode)
    {
        this.airportCode = airportCode;
    }

    public String getAirportCode()
    {
        return airportCode;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("carrier", getCarrier())
            .append("entrustCode", getEntrustCode())
            .append("prefix", getPrefix())
            .append("nameCn", getNameCn())
            .append("nameEn", getNameEn())
            .append("nameFull", getNameFull())
            .append("intflag", getIntflag())
            .append("dataSwitch", getDataSwitch())
            .append("sita", getSita())
            .append("countryCode", getCountryCode())
            .append("airportCode", getAirportCode())
            .append("createTime", getCreateTime())
            .append("createBy", getCreateBy())
            .append("updateTime", getUpdateTime())
            .append("updateBy", getUpdateBy())
            .toString();
    }
}
